package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc BffCustomResultDto
     * @使用场景
     */
    @Data
    public class BffCustomResultDto  implements Serializable {
      
    /**
     * 选项关系ID 
     */
    @NotNull(message = "选项关系ID 不能为空")
@ApiModelProperty("选项关系ID ")
    private String	 confOptionRshipId;

    /**
     * 答案结果值 
     */
    @NotNull(message = "答案结果值不能为空")
@ApiModelProperty("答案结果值")
    private String	 endValue;

    /**
     * 答案结果类型 NUMERIC:数值 TEXT:文本 DATETIME:日期 TIME:时间
     */
    @ApiModelProperty("答案结果类型")
    private String	 resultType;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffCustomResultDto that = (BffCustomResultDto) o;
      return  confOptionRshipId == that.confOptionRshipId&&endValue == that.endValue&&resultType == that.resultType;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), confOptionRshipId,endValue,resultType);
    }
    
      

    }
   